﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="format.aspx.cs" Inherits="Tools.Web.format" %>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <table border="0" cellpadding="0" cellspacing="0" align="center" style="width:90%">
            <tr>
                <td>输入：</td>
            </tr>
            <tr>
                <td>
                    <textarea id="txt_inputText" style="width:100%;height:6cm;border:1px solid #0082CA"></textarea>
                </td>
            </tr>
            <tr>
                <td>输出：</td>
            </tr>
            <tr>
                <td>
                    <textarea id="txt_outPuttext" style="width:100%;height:6cm;border:1px solid #0082CA"></textarea>
                </td>
            </tr>
            <tr>
                <td><br /></td>
            </tr>
            <tr>
                <td align="center">
                    <select id="tabsize">
                        <option value="1">制表符缩进</option>
                        <option value="2">2个空格缩进</option>
                        <option value="4">4个空格缩进</option>
                        <option value="8">8个空格缩进</option>
                    </select>
                    <input type="button" value="格式化" id="btn_format" onclick="do_js_beautify()" />
                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                    <input type="button" value=" 压 缩 " id="btn_pack" onclick="pack_js()" />
                    &nbsp;&nbsp;
                    <label for="chk_shrink">Shrink</label><input type="checkbox" id="chk_shrink" />&nbsp;&nbsp;
                    <label for="chk_base62">Base62 encode</label><input checked="checked" type="checkbox" id="chk_base62" />
                </td>
            </tr>
        </table>
    </div>
    </form>
    <script src="JS/format/format.js" type="text/javascript"></script>
    <script src="JS/format/words.js" type="text/javascript"></script>
    <script src="JS/format/htmlformat.js" type="text/javascript"></script>
    <script src="JS/format/jsformat.js" type="text/javascript"></script>
    <script src="JS/format/my.js" type="text/javascript"></script>
    <script src="JS/format/packer.js" type="text/javascript"></script>
</body>
</html>
